import { get } from '@/utils/request'

// 获取物流设备状态
export const get_logistics_equipment_status_api = (params) =>
  get('/app/api/equipment/situation/getEquipmentStatus', params)

// 获取巡检任务统计
export const get_inspection_task_statistics_api = (params) =>
  get('/app/api/equipment/situation/getPatrolInspection', params)

// 获取巡更任务统计
export const getPatrolStatistics = (params) =>
  get('/app/api/patrol/getPatrolStatistics', params)

// 获取告警状态统计
export const get_alarm_device_statistics_api = (params) =>
  get('/app/api/equipment/situation/getAlarmStatusStatistics', params)

// 获取设备分类统计
export const get_equipment_classification_statistics_api = (params) =>
  get('/app/api/equipment/situation/getAlarmTypeStatistics', params)

// 获取告警类型统计
export const get_alarm_type_statistics_api = (params) =>
  get('/app/api/equipment/situation/getEquipmentTypeStatistics', params)

// 获取保养任务统计
export const get_maintenance_task_statistics_api = (params) =>
  get('/app/api/equipment/situation/getRepairTaskStatistics', params)

// 获取维修工单统计
export const get_maintenance_work_order_statistics_api = (params) =>
  get('/app/api/equipment/situation/getMaintenanceOrderStatistics', params)

// 获取地图点信息
export const getEquipmentList = (params) =>
  get('/app/api/equipment/situation/getEquipmentList', params)

// 获取电子围栏
export const getRegion = (params) =>
  get('/app/api/webConfig/getMapElectronicFence', params)
